package cn.im.qywx.wx.component;


import cn.im.qywx.wx.component.mainmenu.MainMenuCom;
import cn.im.qywx.wx.component.wakeon.PingCom;
import cn.im.qywx.wx.component.wakeon.WakeOnCom;

/**
 * @Description: 功能（原件）类型
 */
public enum ComponentType {
	
	
/*	//欢迎语--------
	Scan(ScanCom.class),//二维码
	Subscribe(SubscribeCom.class), //关注欢迎语
	
	//主菜单 主页
	MainPage(MainPageCom.class);*/
	
	// 主导航
	MainMenu(MainMenuCom.class),
	
	//远程开机
	WakeOn(WakeOnCom.class),

	//ping操作
	Ping(PingCom.class);
	
	
	private Class<? extends Component> component;

	private ComponentType(Class<? extends Component> component) {
		this.component = component;
	}

	public Class<? extends Component> getComponent() {
		return component;
	}

	public void setComponent(Class<? extends Component> component) {
		this.component = component;
	}

}
